#ifndef POINTDB_H_
#define POINTDB_H_
#include <map>
#include <iostream>
#include <algorithm>
#include "../basic/Point.h"
#include "../basic/MyException.h"
#include "../basic/Coordinate.h"
#include "DataBase.h"


using namespace std;
namespace common {

class PointDb: public DataBase<Point*> {

public:
	PointDb();
	Point* addPoint(Coordinate c);
	Point* addPoint(Coordinate* c);
	//only for test
	Point* addPoint(const skreal& x,const skreal& y);
	virtual ~PointDb();
};

}

#endif /* POINTDB_H_ */
